package com.example.software.config;


import com.example.software.utils.QRCodeDecoder;
import com.example.software.utils.QRCodeGenerator;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class QRCodeConfig {

    @Bean
    public QRCodeGenerator qrCodeGenerator() {
        return new QRCodeGenerator();
    }

    @Bean
    public QRCodeDecoder qrCodeDecoder() {
        return new QRCodeDecoder();
    }
}

